package org.dromara.system.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommodityExchangeBo {

    @NotNull(message = "商品ID不能为空")
    private Long goodsId;

    private Long userId;

    //兑换账号
    @NotBlank(message = "兑换账号不能为空")
    private String exchangeAccount;

}
